package top.infopub.mgr.fia.service;


import java.util.List;

import top.infopub.generic.GenericService;
import top.infopub.mgr.fia.domain.ProBudgetOfgroupDomain;
import top.infopub.mgr.fia.vo.ProBudgetOfgroupVo;
import top.infopub.model.fia.ProBudgetOfgroup;
import top.infopub.model.fia.ProBudgetOfgroupDtl;

import com.github.pagehelper.Page;


public interface ProBudgetOfgroupService extends GenericService<ProBudgetOfgroup, String> {

    /**
     * 根据条件查询分页数据
     * @param proBudgetOfgroupVo
     * @return 
     * @see
     */
    Page<ProBudgetOfgroupDomain> selectByDomainWhere(Page<ProBudgetOfgroupDomain> page,
                                                     ProBudgetOfgroupVo proBudgetOfgroupVo);

    /**
     * 新增
     */
    void saveProBudgetOfgroup(ProBudgetOfgroup proBudgetOfgroup,
                              List<ProBudgetOfgroupDtl> proBudgetOfgroupDtls);

    /**
     * 详情
     */
    ProBudgetOfgroupVo queryById(String id);

    /**
     * 判断是否存在同一公司名称、同一预算年度已有生效中单据
     */
    int count(Integer belongsYear, String hrOrgBillId);

    /**
     * 
     * 修改操作
     * @param proBudgetOfgroupVo
     * @see
     */
    /*void udpProBudgetOfgroup(ProBudgetOfgroupVo proBudgetOfgroupVo);*/

}